Skip to content

Add benchmark for measuring performance impact on moving sandbox across thread#882

Merged
ludfjig merged 1 commit intohyperlight-dev:mainfrom
ludfjig:thread_switch_bench
Sep 10, 2025
Merged

Add benchmark for measuring performance impact on moving sandbox across thread#882
ludfjig merged 1 commit intohyperlight-dev:mainfrom
ludfjig:thread_switch_bench

Conversation

@ludfjig
Copy link
Contributor

@ludfjig ludfjig commented Sep 10, 2025

KVM docs claim:

vcpu ioctls should be issued from the same thread that was used to create the vcpu, except for asynchronous vcpu ioctl that are marked as such in the documentation. Otherwise, the first ioctl after switching threads could see a performance impact.

It would be beneficial to measure this overhead, as well as overhead on MSHV

…ss thread

Signed-off-by: Ludvig Liljenberg <4257730+ludfjig@users.noreply.github.com>
@ludfjig ludfjig added kind/enhancement For PRs adding features, improving functionality, docs, tests, etc. area/performance Addresses performance labels Sep 10, 2025
@ludfjig ludfjig merged commit 08d8d8c into hyperlight-dev:main Sep 10, 2025
34 of 35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/performance Addresses performance kind/enhancement For PRs adding features, improving functionality, docs, tests, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants